---
layout: single
property_name: border-left-color
---

<section id="border-left-color" class="property">
  <header class="property-header">
    <nav class="property-links">
      <a class="property-links-direct" href="{{site.url}}/property/border-left-color/" data-property-name="border-left-color" data-tooltip="Single page for this property">Permalink</a>
      <a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="border-left-color">Share</a>
      <a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/border-left-color" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
    </nav>
    <h2 class="property-name">
      <a href="#border-left-color"><span>#</span>border-left-color</a>
    </h2>
    <div class="property-description">
      <p>Like <code class="shorthand"><a href="http://cssreference.io/#border-color">border-color</a></code>, but for the <strong>left</strong> border only.</p>

    </div>

  </header>

    <style type="text/css">.border-left-color { border-left-style: solid;border-left-width: 4px; }</style>




    <section class="example">
      <header class="example-header">
        <p class="example-name">


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="border-left-color: transparent;">border-left-color: transparent;</code>
        </p>
        <div class="example-description">
          <p>Applies a <strong>transparent</strong> color to the left border. The left border will still take up the <em>space</em> defined by the <code>border-width</code> value.</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div border-left-color " id="border-left-color-transparent">Hello world</div>
        </div>
      </aside>
          <style type="text/css">#border-left-color-transparent{ border-left-color:transparent;}</style>
    </section>
    <section class="example">
      <header class="example-header">
        <p class="example-name">


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="border-left-color: red;">border-left-color: red;</code>
        </p>
        <div class="example-description">
          <p>You can use one of the <strong><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/color_value">140+ color names</a></strong>.</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div border-left-color " id="border-left-color-red">Hello world</div>
        </div>
      </aside>
          <style type="text/css">#border-left-color-red{ border-left-color:red;}</style>
    </section>
    <section class="example">
      <header class="example-header">
        <p class="example-name">


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="border-left-color: #05ffb0;">border-left-color: #05ffb0;</code>
        </p>
        <div class="example-description">
          <p>You can use <strong>hexadecimal</strong> color codes, <code>rgb()</code>, <code>rgba()</code>, <code>hsl()</code>, <code>hsla()</code>...</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div border-left-color " id="border-left-color-05ffb0">Hello world</div>
        </div>
      </aside>
          <style type="text/css">#border-left-color-05ffb0{ border-left-color:#05ffb0;}</style>
    </section>

</section>
